package com.twu.biblioteca;

/**
 * Created by kiit on 7/9/14.
 */
public class User {
    private String LibraryCardNo;
    private String Password;
    private String Name;
    private String Contact;

    public boolean VerifyPassword(String password){
        return Password.equals(password);
    }

    public String getName() {
        return Name;
    }

    public String getContact() {
        return Contact;
    }

    public String getLibraryCardNo() {
        return LibraryCardNo;
    }

    public User(String libraryCardNo, String password, String name, String contact) {
        LibraryCardNo = libraryCardNo;
        Password = password;
        Name = name;
        Contact = contact;
    }
}
